﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Mvvm.ViewModels
{
    /// <summary>
    /// 工作人
    /// </summary>
    public partial class WorkerViewModel:ObservableObject
    {
        /// <summary>
        /// 装箱数
        /// </summary>
        [ObservableProperty]
        private int _boxCount;
        /// <summary>
        /// id
        /// </summary>
        [ObservableProperty]
        private Guid _id;
        /// <summary>
        /// 商品数
        /// </summary>
        [ObservableProperty]
        private int _itemCount;
        /// <summary>
        /// 头像
        /// </summary>
        [ObservableProperty]
        private string? _headImg;
        /// <summary>
        /// 昵称
        /// </summary>
        [ObservableProperty]
        private string? _nickName;
        /// <summary>
        /// 真名
        /// </summary>
        [ObservableProperty]
        private string? _realName;
        ///// <summary>
        ///// 角色名
        ///// </summary>
        //[ObservableProperty]
        //private string? _roleName;

    }
}
